Show AllShow All

Create your own formula in a PivotTable or PivotChart report

Source data from OLAP databases doesn't allow you to create formulas.

  1. Decide whether you want a calculated field or a calculated item within a field.

    Use a calculated field when you want to use the data from another field in your formula. Use a calculated item when you want your formula to use data from one or more specific items within a field.

  2. Do one of the following. For best results in a PivotChart report, work in the associated PivotTable report, where you can see the individual data values that your formula calculates.

    ShowAdd a calculated field

    ShowAdd a calculated item to a field

  3. For calculated items, you can enter different formulas cell by cell.

    ShowHow?

  4. If you have multiple calculated items or formulas, adjust the order of calculation.

    ShowHow?

Note  When you add a formula to a PivotChart report or its associated PivotTable report, some chart formatting may be lost.

ShowTip